package com.chaochis.wind.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chaochis.wind.enums.AccountType;
import com.chaochis.wind.user.vo.WindAccount;
import com.chaochis.wind.user.vo.WindUser;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface WindAccountMapper extends BaseMapper<WindAccount> {
  public List<WindAccount> getAccountList(WindAccount windAccount);

  public WindUser getBoundUser(String accountId);

  public WindAccount getAccountByAccountName(String accountName, AccountType accountType);
}
